<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@ include file="/commons/pages/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div class="subtitle">
  <h3>查看信息</h3>
</div>
<table width="100%" border="0" cellpadding="5" cellspacing="1" class="tbl_list">
  <tr>
    <th width="16%" align="right">所属项目：</th>
    <td width="34%"><s:property value='model.proj_name'/></td>
    <th width="16%" align="right">户主姓名：</th>
    <td width="34%"><s:property value='model.name'/></td>
  </tr>
  <tr>
    <th width="16%" align="right">所属楼栋：</th>
    <td width="34%"><s:property value='model.b_name'/></td>
  	<th width="16%" align="right">联系电话：</th>
    <td width="34%"><s:property value='model.tel'/></td>
  </tr>
  <tr>
  	<th width="16%" align="right">所属分摊域：</th>
    <td width="34%"><s:property value='model.area_name'/></td>
    <th width="16%" align="right">电子邮件：</th>
    <td width="34%"><s:property value='model.email'/></td>
  </tr>
  <tr>
    <th width="16%" align="right">单元：</th>
    <td width="34%"><s:property value='model.unit_name'/>单元</td>
     <th width="16%" align="right">建筑面积：</th>
    <td width="34%"><s:property value='model.struct_area'/>㎡</td>
  </tr>
  <tr>
  	 <th width="16%" align="right">门牌号：</th>
    <td width="34%"><s:property value='model.house_num'/></td>
     <th width="16%" align="right">供热面积：</th>
    <td width="34%"><s:property value='model.hear_area'/>㎡</td>
   </tr>
  <tr>
  	 <th width="16%" align="right">楼层位置：</th>
    <td width="34%">
    	<s:if test="model.floor_pos==1">顶楼</s:if>
     	<s:if test="model.floor_pos==2">中间层</s:if>
     	<s:if test="model.floor_pos==3">底层</s:if>
    </td>
     <th width="16%" align="right">是否参与计量收费：</th>
    <td width="34%">
    	<s:if test="model.is_cal==0">参与</s:if>
     	<s:if test="model.is_cal==1">不参与</s:if>
    </td>
  </tr>
  <tr>
    <th width="16%" align="right">楼层：</th>
    <td width="34%"><s:property value='model.floor_no'/>层</td>
    <th width="16%" align="right">是否为边户：</th>
    <td width="34%">
    	<s:if test="model.is_side==0">是边户</s:if>
     	<s:if test="model.is_side==1">不是边户</s:if>
    </td>
  </tr>
  <tr>
    <th width="16%" align="right">户修正系数：</th>
    <td width="34%"><s:property value='model.xz_factor'/></td>
    <th width="16%" align="right">账单自动发送：</th>
    <td width="34%">
    	<s:if test="model.send_bill==0">发送</s:if>
     	<s:if test="model.send_bill==1">不发送</s:if>
    </td>
  </tr>
  <tr>
    <th width="16%" align="right">备注：</th>
    <td width="34%"><s:property value='model.demo'/></td>
    <th>&nbsp;</th>
    <td><input type="button" class="websub" onclick="history.back();" value="返 回" /></td>
  </tr>
</table>
<!-- table width="100%" border="0" cellpadding="5" cellspacing="1" class="tbl_list">
    <tr>
      <th width="5%">序号</th>
      <th width="16%">分配表序列号</th>
      <th width="10%">安装日期</th>
      <th width="12%">分配表安装人</th>
      <th width="12%">软件版本</th>
      <th width="12%">硬件版本</th>
      <th width="17%">操作</th>
    </tr>
    <s:iterator value="assignMeterList" var="cur" status="vs">
      <tr align="center">
        <td><abean:counter write="true" /></td>
        <td><s:property value="#cur.serious_num"/></td>
        <td><s:date name="#cur.install_date" format="yyyy-MM-dd"/></td>
        <td><s:property value="#cur.install_man"/></td>
        <td><s:property value="#cur.soft_version"/></td>
        <td><s:property value="#cur.hard_version"/></td>
        <td><a href="AssignMeterInfo!view.action?id=<s:property value='#cur.id'/>">查看</a></td>
      </tr>
    </s:iterator>
  </table-->
  <table width="100%" border="0" cellpadding="5" cellspacing="1" class="tbl_list">
    <tr>
      <th width="10%">序号</th>
      <th width="20%">分配表号</th>
      <th width="13%">是否参与分摊</th>
      <th width="13%">是否有散热器罩</th>
      <th width="18%">温控方式</th>
      <th width="14%">操作</th>
    </tr>
    <s:iterator value="sinkList" var="cur" status="vs">
      <tr align="center">
        <td><abean:counter write="true" /></td>
        <td><s:property value="#cur.serious_num"/></td>
        <td>
        	<s:if test="#cur.join_ft==0">参与分摊</s:if>
     		<s:if test="#cur.join_ft==1">不参与分摊</s:if>
     	</td>
        <td>
        	<s:if test="#cur.has_cover==0">有散热器罩</s:if>
     		<s:if test="#cur.has_cover==1">没有散热器罩</s:if>
        </td>
        <td>
        	<s:if test="#cur.temp_control==1">无温控</s:if>
     		<s:if test="#cur.temp_control==2">温控阀</s:if>
        	<s:if test="#cur.temp_control==3">温控面板加电动球阀</s:if>	
        	<s:if test="#cur.temp_control==4">其他</s:if>	
        </td>
        <td><a href="SinkInfo!view.action?id=<s:property value='#cur.id'/>">查看</a></td>
      </tr>
    </s:iterator>
  </table>
</body>
</html>
